<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html">
<head lang="en">
    <meta charset="UTF-8">
    <link href="/AppStore/Public/boot/css/bootstrap.min.css"rel="stylesheet"type="text/css">
    <script src="/AppStore/Public/boot/js/jquery.min.js" type="text/javascript"></script>
    <script src="/AppStore/Public/boot/js/bootstrap.min.js" type="text/javascript"></script>
    <title>修改用户信息</title>
</head>
<body>
    <div class="container">
        <form class="form-horizontal"  method="post" action="updateapp" enctype="multipart/form-data">
                <input type="hidden" name="id"value="<?php echo ($app["id"]); ?>">
                <div class="form-group">
                        <label for="name"class="col-md-2 control-label">用户名</label>
                    <div class="col-md-5">
                        <input type="text" class="form-control" id="name"name="name" placeholder="请输入名称"value="<?php echo ($app["name"]); ?>">
                    </div>
                </div>
                <div class="form-group">
                        <label for="developer" class="col-md-2 control-label">发明者</label>
                    <div class="col-md-5">
                        <input type="text" class="form-control" id="developer" name="developer"placeholder="请输入发明者"value="<?php echo ($app["developer"]); ?>">
                    </div>
                </div>
                <div class="form-group">
                    <label for="upuser"class="col-md-2 control-label">确认密码</label>
                    <div class="col-md-5">
                         <input type="text" class="form-control" id="upuser"name="upuser" placeholder="请确认密码"value="<?php echo ($app["upuser"]); ?>">
                    </div>
                </div>
                <div class="form-group">
                    <label for="intro"class="col-md-2 control-label">详细介绍</label>
                <div class="col-md-5">
                    <textarea class="form-control" rows="3" type="text"  id="intro"name="intro" placeholder="请输入简介"><?php echo ($app["intro"]); ?></textarea>
                </div>
                </div>
            <div class="form-group">
                <label for="briefintro"class="col-md-2 control-label">自我介绍</label>
                <div class="col-md-5">
                    <textarea class="form-control" rows="3" type="text"  id="briefintro"name="briefintro" placeholder="请输入简介"><?php echo ($app["briefintro"]); ?></textarea>
                </div>
            </div>
                <div class="form-group">
                    <label for="verifyinfo"class="col-md-2 control-label">审核信息</label>
                    <div class="col-md-5">
                    <textarea class="form-control" rows="3" type="text"  id="verifyinfo" name="verifyinfo"placeholder="请输入审核信息"><?php echo ($user["verifyinfo"]); ?></textarea>
                </div></div>
                <div class="form-group">
                    <label class="col-md-2 control-label">状态</label>
                    <div class="col-md-5">
                        <label class="radio-inline">
                            <input type="radio" id="inlineRadio1" value="0"name="state"<?php if($user["state"] == 0): ?>checked<?php endif; ?>> 禁用
                        </label>
                        <label class="radio-inline">
                            <input type="radio" id="inlineRadio2" value="1"name="state"<?php if($user["state"] == 1): ?>checked<?php endif; ?>> 正常
                        </label>
                        <label class="radio-inline">
                            <input type="radio" id="inlineRadio3" value="2"name="state"<?php if($user["state"] == 2): ?>checked<?php endif; ?>> 禁言
                        </label>
                </div></div>
                <div class="form-group">
                    <label class="col-md-2 control-label">图标</label>
                    <div class="col-md-5">
                        <img src="/AppStore/Public/Uploads/photo/<?php echo ($app["logo"]); ?>"name="logo" width="100px"height="100px">
                    </div>
                </div>
                <div class="form-group">
                    <label for="logo" class="col-md-2 control-label">修改文件</label>
                    <div class="col-md-2">
                        <input type="file" id="logo" name="logo">
                    </div>
                </div>

                <button type="submit" class="btn btn-default">提交</button>

        </form>
    </div>
</body>
</html>